import { merge } from 'lodash-es';

//替换业务组件
const replaceUrls = {
  //'src/modules/ipd/components/classification-library-tree.vue': import('./components/classificationTree.vue')
};
Object.keys(replaceUrls).forEach((key) => {
  replaceUrls[key].then((rts) => {
    merge(window.tyRoot.getExportResource(key), rts);
  });
});

// 替换ty-ui的组件
import tyUi from '@common/ty-ui';
const  tyButton = tyUi.getExportResource('src/ty-ui/lib/ty-button/tysrc/ty-button.vue');
import btn from './components/button.vue'
merge(tyButton, {default:btn});

